<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:89:"D:\myphp_www\PHPTutorial\WWW\eater\OneBase\public/../app/admin\view\eater\eater_edit.html";i:1569479410;s:94:"D:\myphp_www\PHPTutorial\WWW\eater\OneBase\public/../app/admin\view\layout\edit_btn_group.html";i:1569479410;}*/ ?>
<form action="<?php echo url(); ?>" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
  <div class="box-body table-responsive">
    <table  class="table table-bordered table-hover">
      <thead>
      <tr>
          <th>单号</th>
          <th>菜品</th>
          <th>桌号</th>
          <th>总价</th>
          <th>创建时间</th>
          <th>状态</th>
      </tr>
      </thead>
      
      <?php if(!(empty($list) || (($list instanceof \think\Collection || $list instanceof \think\Paginator ) && $list->isEmpty()))): ?>
        <tbody>
            <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <tr>
                  <td><?php echo $vo['o_id']; ?></td>
                  <td><?php echo $vo['name']; ?></td>
                  <td><?php echo $vo['table_id']; ?></td>
                  <td><?php echo $vo['copies']; ?></td>
                  <td><?php echo $vo['price']*vo.copies; ?></td>
                  
                </tr>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </tbody>
        <?php else: ?>
        <tbody><tr class="odd"><td colspan="7" class="text-center" valign="top"><?php echo config('empty_list_describe'); ?></td></tr></tbody>
      <?php endif; ?>
    </table>
  </div>
        </div>
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="<?php echo (isset($info['id']) && ($info['id'] !== '')?$info['id']:'0'); ?>"/>
        
        <button  type="submit" class="btn ladda-button ajax-post" data-style="slide-up" target-form="form_single">
    <span class="ladda-label"><i class="fa fa-send"></i> 确 定</span>
</button>

<a class="btn" onclick="javascript:history.back(-1);return false;"><i class="fa fa-history"></i> 返 回</a>
      </div>
        
      </div>

</form>